package com.baizhi.genericity2;

/**
 * 泛型接口测试
 */
public class GenNumUtilTest {
    public static void main(String[] args) {
        GenNumUtil g1 = new FootBallNum();
        System.out.println("足球彩票中奖号码："+g1.genNum());

        GenNumUtil g2 = new Welfare();
        System.out.println("福利彩票中奖号码是：" + g2.genNum());
    }
}
